projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6328882
)
Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docs
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 13 May 2014 15:19:49 +0000
(11:19 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 13 May 2014 15:20:06 +0000
(11:20 -0400)
Explain possible gotcha with catch-all rules.
gtk/gtkstyleprovider.h
patch
|
blob
|
history
diff --git
a/gtk/gtkstyleprovider.h
b/gtk/gtkstyleprovider.h
index ef5c3555ce08c6cd55c95ed183be76186b7f1147..a33ce4345ae6530762a20f2589d07b027e4216c2 100644
(file)
--- a/
gtk/gtkstyleprovider.h
+++ b/
gtk/gtkstyleprovider.h
@@
-40,6
+40,11
@@
G_BEGIN_DECLS
*
* The priority used for default style information
* that is used in the absence of themes.
+ *
+ * Note that this is not very useful for providing default
+ * styling for custom style classes - themes are likely to
+ * override styling provided at this priority with
+ * catch-all `* {...}` rules.
*/
#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1